package scauCmiScaffolding.compiled;

import org.eclipse.jet.JET2Context;
import org.eclipse.jet.JET2Template;
import org.eclipse.jet.JET2Writer;
import org.eclipse.jet.taglib.RuntimeTagElement;
import org.eclipse.jet.taglib.TagInfo;

public class _jet_util implements JET2Template {
    private static final String _jetns_java = "org.eclipse.jet.javaTags"; //$NON-NLS-1$

    public _jet_util() {
        super();
    }

    private static final String NL = System.getProperty("line.separator"); //$NON-NLS-1$
    
    private static final TagInfo _td_java_package_1_1 = new TagInfo("java:package", //$NON-NLS-1$
            1, 1,
            new String[] {
                "name", //$NON-NLS-1$
                "srcFolder", //$NON-NLS-1$
            },
            new String[] {
                "{$packageName}.util", //$NON-NLS-1$
                "{$projectName}/cmi", //$NON-NLS-1$
            } );
    private static final TagInfo _td_java_class_2_2 = new TagInfo("java:class", //$NON-NLS-1$
            2, 2,
            new String[] {
                "name", //$NON-NLS-1$
                "template", //$NON-NLS-1$
            },
            new String[] {
                "CmiSqlUtil", //$NON-NLS-1$
                "templates/content/{$framework}/java/util/utils/cmisqlUtil.jet", //$NON-NLS-1$
            } );
    private static final TagInfo _td_java_class_3_2 = new TagInfo("java:class", //$NON-NLS-1$
            3, 2,
            new String[] {
                "name", //$NON-NLS-1$
                "template", //$NON-NLS-1$
            },
            new String[] {
                "CmiDetachedCriteriaUtil", //$NON-NLS-1$
                "templates/content/{$framework}/java/util/utils/cmiDetachedCriteriaUtil.jet", //$NON-NLS-1$
            } );
    private static final TagInfo _td_java_class_4_2 = new TagInfo("java:class", //$NON-NLS-1$
            4, 2,
            new String[] {
                "name", //$NON-NLS-1$
                "template", //$NON-NLS-1$
            },
            new String[] {
                "CmiHibernateProxyUtil", //$NON-NLS-1$
                "templates/content/{$framework}/java/util/utils/cmiHibernateProxyUtil.jet", //$NON-NLS-1$
            } );

    public void generate(final JET2Context context, final JET2Writer __out) {
        JET2Writer out = __out;
        RuntimeTagElement _jettag_java_package_1_1 = context.getTagFactory().createRuntimeTag(_jetns_java, "package", "java:package", _td_java_package_1_1); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_java_package_1_1.setRuntimeParent(null);
        _jettag_java_package_1_1.setTagInfo(_td_java_package_1_1);
        _jettag_java_package_1_1.doStart(context, out);
        while (_jettag_java_package_1_1.okToProcessBody()) {
            out.write("\t");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_java_class_2_2 = context.getTagFactory().createRuntimeTag(_jetns_java, "class", "java:class", _td_java_class_2_2); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_java_class_2_2.setRuntimeParent(_jettag_java_package_1_1);
            _jettag_java_class_2_2.setTagInfo(_td_java_class_2_2);
            _jettag_java_class_2_2.doStart(context, out);
            _jettag_java_class_2_2.doEnd();
            out.write(NL);         
            out.write("\t");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_java_class_3_2 = context.getTagFactory().createRuntimeTag(_jetns_java, "class", "java:class", _td_java_class_3_2); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_java_class_3_2.setRuntimeParent(_jettag_java_package_1_1);
            _jettag_java_class_3_2.setTagInfo(_td_java_class_3_2);
            _jettag_java_class_3_2.doStart(context, out);
            _jettag_java_class_3_2.doEnd();
            out.write(NL);         
            out.write("\t");  //$NON-NLS-1$        
            RuntimeTagElement _jettag_java_class_4_2 = context.getTagFactory().createRuntimeTag(_jetns_java, "class", "java:class", _td_java_class_4_2); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_java_class_4_2.setRuntimeParent(_jettag_java_package_1_1);
            _jettag_java_class_4_2.setTagInfo(_td_java_class_4_2);
            _jettag_java_class_4_2.doStart(context, out);
            _jettag_java_class_4_2.doEnd();
            out.write(NL);         
            _jettag_java_package_1_1.handleBodyContent(out);
        }
        _jettag_java_package_1_1.doEnd();
        out.write("\t");  //$NON-NLS-1$        
    }
}
